﻿using Colorful.CMS.Core;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Colorful.Models
{
    #region 语言
    public class LangDataSource : IDataSource
    {
        private List<JsonData<string>> _datas;
        public List<JsonData<string>> Datas
        {
            get
            {
                if (_datas == null)
                {
                    _datas = WebService.Languages;
                }
                return _datas;
            }
        }
    }
    #endregion
}
